#CC=arm-uclibc-g++
CC=g++
CFLAG=-Wall -Os -pipe -fomit-frame-pointer -MD
EXCUTE=ptuBack
OBJS=main.o QThread.o TCPClient.o publicFun.o tcpThread.o
all:
	$(CC) $(CFLAG) -c QThread.cpp
	$(CC) $(CFLAG) -c TCPClient.cpp
	$(CC) $(CFLAG) -c main.cpp
	$(CC) $(CFLAG) -c publicFun.cpp
	$(CC) $(CFLAG) -c tcpThread.cpp
	$(CC) -o $(EXCUTE) $(OBJS) -s -lpthread ../lib/libQCfgLog.so
	-rm -rf $(OBJS) *.d
.PHONY:clean
clean:
	-rm -rf $(OBJS) *.d $(EXCUTE) 

